Ey all, my first post here, i hope its not a hard one
I display mysql results in a table
Each row has a link which must send the title of the row to "result.php"
EXAMPLE
TITLE------------UNITS
book--------------10 - - link
video-------------10 - - link
audio-------------10 - - link
pencils------------10 - - link
Now, i want to put a kind of textbox under each row, so the user can type the cuantity of units to order
EXAMPLE
TITLE------------UNITS
book---------------10 - - link
-------------------[ ] - - link
video--------------10 - - link
-------------------[ ] - - link
audio--------------10 - - link
-------------------[ ] - - link
pencils-------------10 - - link
-------------------[ ] - - link
this is the code of the link
<a href='result.php?ref=$modelo&xxxxxxxxxxxx='>LINK</a>
xxxxxxxxxxx is the code im lacking to send the content of the "textbox" i dont know how to use...
is this possible? any other workaround???
Login Control?!
I have a Web Site that uses the login control also I have set the destinationurl to the page I want to go to when logged in.
Undefined variables
hi----------------------------------------------------------------------------------------------------error log "[Sat Jan 09 17:40:00 2010] [error] [client 127.0.0.1] PHP Notice: Undefined
Linking with Foreign Keys
I have been getting an erro when I try and link:
Upload, SSL and more php help
I recently just installed a ssl cert and do i use https for the whole site or just for the checkout.php and cart.php and login.php files?whats the proper way to use https?I have 2 more questions, when
Sufficient protection from bad input?
I am writing a simple script to let people upload 'pages' of their own content, be it simply a few bits of HTML, pictures and whatnot, and recieve their own url.. I've without testing, wrote this part
Count
Getting the same count everytimeCode: $visitquery = mysql_query("SELECT COUNT(*) FROM visitors WHERE ownerkey = '$uuid' & region = '$selected' AND `date` < DATE_ADD(CURDATE(),
utf8_general_ci error ??
I have all kinds of data to be inserted in database table//I am getting this errorYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right
Do While statement
hi guys,This may sound trivial but im new to php and as part of an assignmenti have to construct the 10 green bottles song using the do while statement. I can do the statement but it is itengrating
! = ''
In the following 'IF' statement if v_ompcat = PU for example then Oracle equates that 'IF' statement to NOT TRUE and skips onto the next 'IF' satement whereas I would have thought that it would have
Using mysql_real_escape_string for displayed content
On my website users can input data into a textarea and it will store it in the mysql database. But, I am unsure on how to prevent against mysql injections without using mysql_real_escape_string since