I wish I kept up with it all from when I started.
I bought a TRS80 model1 in 1980, I was 13 and started doing BASIC.
The hard drive was a cassette recorder LOL.
Nowadays my motivation is business, and the use of php mysql to generate large dynamic sites for seo/marketing. I have five kids to feed.
Whats the best way (MAYBE THIS SHOULD BE A NEW THREAD) to convert those ugly urls with all those funky characters...
User Profile
Collapse
-
-
Sorry about the profanity, it the Bronx in me that just comes out sometimes :-)Leave a comment:
-
Dormilich
Dude you are awesome, thanks ever so much. It always amazes when the s*** actually works.
DankeLeave a comment:
-
syntax error in line 1...
First, let me say thank you again to both of you for you time and effort in helping me.
In my 3rd script, I am still getting the error:
this is the script:
...Code:<? $username="xxxxxxxxxx"; $password="xxxxxxxxx"; $database="xxxxxxxxxx"; $table="BIZ_APARTMENTS"; $column="bizState";
Leave a comment:
-
so how do I transfer data from the field [b] in the first script into the 3rd script so the query in the 3rd script can use fields 'b' and 'c'?
Code:$query = 'SELECT * FROM BIZ_APARTMENTS WHERE ((bizState="' . mysql_real_escape_string($_POST['b']) . '"&&(bizCity="' . mysql_real_escape_string($_POST['c']) . '")';
Leave a comment:
-
Bigger Question...
First thanks Scooby for your help.
I am trying to post data from 2 different scripts to the query you see belowthe post data is coming from 2 different pages.Code:$query = 'SELECT * FROM BIZ_APARTMENTS WHERE ((bizState="' . mysql_real_escape_string($_POST['b']) . '"&&(bizCity="' . mysql_real_escape_string($_POST['c']) . '")';
This one generates...Leave a comment:
-
Parse error: syntax error, unexpected '"' in ....
Hi All
More help required by a newbie, thx in advance...
I am trying to run a querywhat is the proper way to format this?Code:$query = 'SELECT * FROM BIZ_APARTMENTS WHERE ((bizState='" . mysql_real_escape_string($_POST['b']) . "'&&(bizCity='" . mysql_real_escape_string($_POST['c']) . "')';
thx again -
how freakin cool, it actually WORKS!!!
Can I Pick Your Brains A Little Further?...
Can you give me a general idea on how I could take these results and turn them into a page full of links each one pointing to a separate page for each result.
I think i understand a little how to concatenate together a url from the results, but do i point it to a template or something to generate a gazillion pages from the results...Leave a comment:
-
when i do print r() i get back the the data from the array...
for instance if i select Iowa, i get back 'Array ( [b] => IA )' What does the 'b' before the '=>' stand for? Also how do i get the post data to be used as part of the 'where' so that only rows with column 'bizState' matching $_POST are pulled.
I plead my massive ignorance as I try to teach myself here. Again many thanks for your patience.
thank...Leave a comment:
-
Hi Kovik
I am not sure what my error is exactly now, when I go to my first page Building Select and select a state from the drop down. On the following , 'results' page all i get is the page heading and nothing else.
My goal of the 2 scripts is to be able to select a state from the first script then display all the apartment buildings from that state in the second script.
I hope this clarifies.
Thanks a lot, I really appreciate...Leave a comment:
-
Reworked a little bit but now no error message, but
Hi, first let me say thank you to both of you for helping me, I really appreciate it. I have reworked it a little bit but now no error message, but just a echo of my heading only.
here are the 2 php scripts that are involved. Building Select try it out, plz
...Code:<?php /* Program name: buildSelect.php * Description: Program builds a selection list
Leave a comment:
-
help finding "Parse error: syntax error, unexpected T_STRING"
Hi I am a newbie trying to get some of my first code working, yada yada yada.
I have a drop down box which chooses a state then takes the post data to 'processform2.p hp' to use that to pull up all the rows which have the corresponding state.
I am getting this 'Parse error: syntax error, unexpected T_STRING in /home/attorney/public_html/' on line 13
...Code:<? $username="XXXXXXXX"; $password="XXXXXX";
No activity results to display
Show More
Leave a comment: