i know very little on ASP and would like to no more. can anyone suggest any books that explain beginner level of ASP.
Thanks in advance
Ashraf
User Profile
Collapse
-
Beginner IN ASP - Books
-
Removing objects in array less than 20.
I am a complete newbie in c# programming and have run in to a problem. can someone please help me.
basically i want to remove all widgets that are less than 20 in length from the array list. here's the code if someone can help it would be much appreciated.
heres the code.
...Code:using System; using System.Collections.Generic; using System.Text; using System.Collections;
-
Search Function trouble
Someone please help! i am writing a code for a search function and everytime i execute the code i get the following error.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0,10' at line 1
i have tried to remove the line of code to see wat happens ia search result appears but with errors.
can someone please help... -
Thanx ronald i get it now. -
CREATE TABLE Clothes (
Clothes_ID int not null primary key auto_increment,
Type_ID int not null,
Clothes_Brand varchar (30) not null,
Clothes_Type varchar (80) not null,
Clothes_Colour varchar (30),
Clothes_Price float (4,2) not null,
Clothes_Image varchar (150),
Clothes_Descrip tion text);Leave a comment:
-
Float doesn't go past 100
i have set my clothes price field to float datatype at(4,2) it doesn't let me exceed 100 it comes up with 99.99 i must be doin something stupid can some one please help. -
-
thanks for the response i have updated the code which looks like this :
[PHP]
<?php
session_start() ;
$conn = mysql_connect(" localhost", "root", "")
or die (mysql_error()) ;
mysql_select_db ("noble", $conn) or die (mysql_error()) ;
if ($_POST[Bas_Item_ID] != "") {...Leave a comment:
-
for the the shirt table i can go through to the checkout basket but for the trousers table it comes up with a blank screen and i want both items to be added to the cart but only one table allows it. is there anyway i can add extra code to allow trousers to go through to the cart.Leave a comment:
-
i apologise it was a mistake. any chance u could help me with my code though i am gettin really frustrated and dont know wat to do.Leave a comment:
-
ive updated the code so that the shirts can go through to the basket but when i try putting the trousers through the basket nothng happens. please please please help it's urgent.
ashraf
updated code[php]
<?php
session_start() ;
$conn = mysql_connect(" localhost", "root", "")
or die (mysql_error()) ;
mysql_select_db ("noble", $conn) or die (mysql_error()) ;...Leave a comment:
-
to elaborate further on my problem i am trying to execute the code below there are two seperate item tables. 1, shirts 2, trousers and i am trying to integrate it so that when customers select the item it would appear on the shopping basket even though there arein seperate tables. hope this makes sense.
Code:
[PHP]<?php
session_start() ;
$conn = mysql_connect(" localhost", "root",...Leave a comment:
-
Shopping cart for multiple tables
basicaly i am creating a shopping cart for my website however creating a shopping cart for one table of items is easy but can someone direct me on how to create a shopping cart that can handle more than one table of items. i really need ur help on this
thanks
ashraf -
Restricting applications
i dont know much at all anout apache and i need to know how i can restrict some of my webpages so that when the user name and password is submitted users can get access to these restricted page. if someone can guide me to a tutorial or tell me themselves that would be great.
if someone can please help i would be very gratefull
thanks in advance. -
-
i'm having another slight problem similar to the one before. this time i want the following code to execute so that only one line of "Suits, Shirts and Trousers" is printed but for some reason it prints out three identical lines:
[PHP]$display_block = "<h1>Smartegori es</h1>
<p>select Smart to see items.</p>";
$get_Smarts = "SELECT Smart_ID, Smart_title, Smart_descripti on...Leave a comment:
-
MARKUSN00B U r thee F%$&*£^ master i made it work man!
Thanks alot mate.Leave a comment:
-
thanks markus just havin a look now. i'll let u know how i got on.
nice one mate....Leave a comment:
-
thanks for the quick reply servant but i've tried it and still looks shit. basically i want three items on one row. what if i use div instead of tables do u think that'll sort it and if i do can u giv me a brief indication of how to go about it.Leave a comment:
-
Question About Layout
For my online store i would like about three items to be displayed in one row however because of the php code i wouldn't know how to display it like this. currently the items are displayed one after the other only 1 item per row which makes the page look a bit crap. can anyone please help. i will post the code below.
thanks in advanced.
[PHP] if (mysql_num_rows ($get_suit_res) > 0 ) {
...
No activity results to display
Show More
Leave a comment: