Type: Posts; User: myminimonster
Search took 0.01 seconds.
Thanks for looking at my post.
Whilst i was waiting for a response i decided to check my code validity.
When checking it i noticed the error stating that id=driver had already been assigned. This...
I was wondering if someone could help me out with my problem i have on my site. I have had a search but unable to find posts like this.
I'm not sure if this is a php issue or sql but...
i'm not 100% but i think you are not telling it which columns to put the data in only the table..
$insert =("INSERT INTO `".$tbl_name."` (columnnameforusername,columnnameforpassword,etc)...
That last bit is a typo should be $query not $sql to go with the insert.
Going back to the assoc array, what code would be used to try and determine the number of records were found...
ok i think i understand, maybe not so sure on the
mysql_fetch_assoc($rs);. This has gone over my head.
I got it to work and only insert into my database once.
I did it using this code..
yeah i subsituted the values in the insert string.
I have tried the
echo $query; die(); both after the insert and the select MAX. It seems to run now but i get nothing echo'd from the
thanks for the replies.
I insert the values '".$Xmake."','".$Xmodel."','".$Xcategory."' etc that are assigned from $_POST values a bit higher up the page. Sorry i did not post that...
I am trying to 'insert' a selection of values to a table and then retrieve the entry_no using a 'query'. The entry number is a primary key, auto incrementing field.
The trouble is that...
Thanks for the response. Now working on your suggestions by using a link instead.
On my site I have a place where users can upload posts.
I have php page that sends the user a confirmation email after their post, where the $_POST values populate the a hidden form....
thanks for all the all the tips and comments. I was trying to make the pages open by stepping through them and starting the page with an if $_GET. If it was true move to the next page, else...
Thanks for the reply.
I cant move it up in the code because this 'if' statement is the first line of this file (searchstep1.php)
I have a index.php that displays html and has php code within...
Can someone point me in the right direction here?
I have a php page that is called from another.
I have lots ok if /else conditions within this page so for simplicity and easier...
i'm back again as i struggled to combine the forms.
the first form had an action of "checkout.php" . The second calls a php script that checks if submit is checked
Ok thanks got you now. The bit I didn't know was
now I know he above I'll proceed to combine the forms.
Thanks for your guidance
thanks for the reply Jim. I would like to try and keep both forms if thats ok without combining them .
As you mentions the second form , for the upload image, has no action. This form is...
I was wondering if someone can point me in the right direction here as i am getting confused and stuck with what i am trying to acheive.
I have a php page that has a user input form...
I managed to solve the issue.
I was calling the another.php file from within a div on a php page. The css classes sheet that i was wanting to use on the returned echo were declared...
i simply get the description value that is obtained from my dB.
if i change the line to
echo '<div class="description">test test</div>';
i get just 'test test' printed to the browser.
im not sure if i understand the question but the classes are called in html like this
<link href="../1.css" rel="stylesheet" type="text/css" media="screen" />
Can i add to this post I started before as I have an issue that is related to this.
I am still having issues with the classes being used on a php echo
thanks that works great.
Still a little confused as to why the html element doesn't exist (can't be found) when the php script is called as the <img > is present from the beginning , just with a...
thanks for the reponse
it works in a fashion but i get a delay in that i get the
File Uploaded Successfully! is displayed with the noimage.jpg then the 'uploadedimages/1265720331.jpg' is...
thanks for the reply.
Could you explain a little more for me please?
I call the function where i do becuase I need to make sure that the function is only called on the ...
Were you meant to put
<embed src="player.swf" id="flashobject"