Forums Page 39
-
Help with parsing this html
Hi, I've got some html i just need a couple of strings from.. argh, it's freaking me out. I've tried a lot. Here is the html: Code: <div…
-
Send inserts to mysql thru port 80
Hi! I have an application that must do some inserts in a mysql db. This db is behind a firewall, and only port 80 is available. My first thougt is to…
-
Reduce redundancies in switch functions?
Hello all! I somewhat new to PHP, and was wondering if anyone could give some suggestions on a switch function to reduce redundancies, and to…
-
Simultaneous select/update/insert
Hi How would I need to go about when 2 users update a single row simultaneous? And how would I need to go about when 2 users want to edit a row?…
-
newbie error
what is wrong with this code ? <html> <body> <?php $conn=odbc_connect('Towel','',''); if (!$conn) {exit("Connection Failed: "…
-
iterating through an array and escape each value independently.
I have a set up where the variable being escaped is an array and it needs to be iterated and escaped by separate. I need some help. Code: <?php…
- Advertisement
-
Display search result
Hi! I have a SQL database with information about albums and track (music). This is where the user inputs a search term(entersearch.php): Code…
-
Wrong Info sent Using $get in form
Hi i have this code that i tried to make to send some info from one page to aother with lots of ppls help and it works ok but when i have multiple…
-
Help Optimizing code
Good Morning, I wrote a small import function for a website of mine and I know there has to be a better way to handle what I'm doing. I'm hoping…
-
Function to extract email attachments using PHP IMAP
function extract_attachments($connection, $message_number) { $attachments = array(); $structure = imap_fetchstructure($connection, $message_number)…
-
explode() function problem maybe
Hi I'm having trouble searching my database. When I type two words in the search field it only searches for the second word. For example: if I typed…
-
PHP time (deadline within one week)
I have a column ['projdue'], which stores the deadline for a project. I have PHP code and <span class>'s to show projects that are within…
-
User feedback after MySQL query has been executed
Hi all, I've just registered on PHPFreaks because I've got a question that I simply can't work out by myself. Im developing a web based reporting…
-
Need help with a mail notify function
I was tasked with setting up a site that's been prewritten. The site is basically a form that captures user's info on the frontpage. All the code is…
- Advertisement
-
Need help urgant
why down my code ony return one item instead of all the items selected. $arr = array($date,$time,$latandlong,$satdata,$MCC,$MNC,$MCCMNC,$name,$callid…
-
help with insert
Hi there, I am trying to insert some data into a database, but for some reason, it is not inserting. Can anyone see anything wrong with my code…
-
Help with php code
Hello, can anyone tell me why this php word trap fails to work, and the trigger words get blow right past, and the comments get posted anyway? heres…
-
Help with email validation please...
Hi, Please could you help. I have a register.php login page where users register, the details are then logged into a temporary database, the user…
-
problem with sql querry in php script
Hello guys, What I want to do is I want to read out a csv file and then but te conent ot the file in a msql datbase . So far it works but the problem…
-
an interesting question
Greetings folks, got to ask an interesting question... let say i have created a function something like function xxx($a=4, $b, $c=4) { } now, is…