Search Results

Showing results 1 to 13 of 13
Search took 0.00 seconds.
Search: Posts Made By: johnsquibb ; Forum: PHP and child forums
Forum: PHP Jul 12th, 2008
Replies: 7
Views: 656
Posted By johnsquibb
the modulus operator (%) takes the left side, divides it by the right side, and returns the remainder. So, 5%3 would result in two, since 5/3 yields a remainder 2.

If you are getting a division...
Forum: PHP Mar 24th, 2008
Replies: 3
Views: 2,207
Posted By johnsquibb
try encoding your str1 with encodeURIComponent

more about this at w3schools (http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp)
Forum: PHP Mar 8th, 2008
Replies: 4
Views: 1,086
Posted By johnsquibb
to encode it in php...


<?php

//encode input going in...
$encode = urlencode("in'out\"");

//decode output coming out...
$decode = urldecode($encode);
Forum: PHP Mar 8th, 2008
Replies: 3
Solved: echo statement
Views: 555
Posted By johnsquibb
another way to tackle it would be...

echo '<td align=center style="width: 30px"><strong><a href="' . $link1 . '" style="color: red">CID</a></strong></td>';
Forum: PHP Mar 8th, 2008
Replies: 3
Solved: echo statement
Views: 555
Posted By johnsquibb
echo "<td align=center style=\"width: 30px\"><strong><a href=\"$link1\" style=\"color: red\">CID</a></strong></td>";
Forum: PHP Feb 27th, 2008
Replies: 6
Solved: OPTION problem
Views: 680
Posted By johnsquibb
echo your option tags inside of a select tag like this:


<select name="test" id="test">
<option value="value 1">option 1</option>
<option value="value 2">option 2</option>
<option...
Forum: PHP Feb 24th, 2008
Replies: 17
Views: 1,277
Posted By johnsquibb
also, just to make sure we're not missing something obvious here...you are saving the page as .php extension right?
Forum: PHP Feb 24th, 2008
Replies: 17
Views: 1,277
Posted By johnsquibb
you only have to use commas if you want commas to appear in the output



what part is not working, Everything seems to work when I run it...what are you trying to do?
Forum: PHP Feb 14th, 2008
Replies: 36
Views: 3,551
Posted By johnsquibb
i assume you have root access to the server to set configurations etc....

I am not a phpmyadmin maestro, so you might be better off posting this in a linux/wamp forum depending on your server...
Forum: PHP Feb 12th, 2008
Replies: 6
Views: 2,933
Posted By johnsquibb
since most people will probably never pick more than a few, it would save space to only have one column.

try this:

<?php
//multi-list boxes post an array of results
//get this array into a...
Forum: PHP Feb 11th, 2008
Replies: 3
Views: 736
Posted By johnsquibb
that seems most logical...it would depend, however...Is there code elsewhere that has to make sense of this data? Will it be able to determine that the 3 entries are really just one meeting with a...
Forum: PHP Feb 7th, 2008
Replies: 12
Views: 9,343
Posted By johnsquibb
when I use the select menu on your live page, I get a javascript error that says 'previewProduct is undefined' (look at the little exclamation alert on the bottom left of your browser and double...
Forum: PHP Feb 5th, 2008
Replies: 6
Views: 9,948
Posted By johnsquibb
when in doubt check out the mysql manual...

http://dev.mysql.com/doc/refman/4.1/en/date-and-time-functions.html
Showing results 1 to 13 of 13

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC