Jessica
Staff Alumni-
Posts
8,968 -
Joined
-
Last visited
-
Days Won
41
Everything posted by Jessica
-
No, add the year into your original group buc
-
So obviously you're not passing it any data. You need to look at the code that implements this class.
-
Look up the .live() handler. There's a ton of info in the jquery manual about that. When you did the initial .click() the new elements you've added did not exist.
-
Do you need to send it via POST?
-
Do you really not understand that the code you're working with is NOT CORE PHP? What are you confused about? You are asking for help with third-party code, which unfortunately for you appears to have no documentation. Try looking for the functions you're having trouble with in the PHP manual. You won't find them. We can't help you because we can't see all the code that you're working with.
-
He does if he wants to run the scripts in the browser. Yes, you can run PHP in the command line. DO you really think that's what he wants to do? The problem is that he doesn't even have a web server running. From THERE he can worry about the email server. Edit: By web server I am talking about the software, not the hardware. He needs Apache or similar. I use Apache on my windows machines. It has nothing to do with the Operating System or the hardware.
-
Uhm, go reread this question.
-
This is the way to do it, not trying to parse the URL manually. PHP handles this stuff for you.
-
I'm a little confused about you wanting to learn OOP but not arrays. Do you mean you already understand how arrays work?
-
Your files are in: /home/ausplayg/public_html/ PHP is looking in: /usr/local/apache/htdocs/ You see that there's a major difference right? http://us2.php.net/manual/en/ini.core.php#ini.include-path
-
Compare the directory it's looking in with the directory the file is actually stored.
-
Change all of your include( to require_once(
- 2 replies
-
- fatal error
- cannot re-declare
-
(and 2 more)
Tagged with:
-
Best way to grab all info from one mysql row?
Jessica replied to dannyb785's topic in PHP Coding Help
I believe the user got banned for this and other antagonistic behavior, so maybe we can lock this thread? -
Moved to the correct forum. You need to be running a web server.
-
Omfg.
-
We don't respond well to this type of demanding entitled language. We also can't help you if you don't post the relevant code. Barand asked you to.
-
It never hurts to learn new skills
-
Ack! No queries in loops! Read this tutorial I wrote: http://thewebmason.com/tutorial-parent-child-lists/ You need to join your tables. For tags you can probably use group_concat or the method in my tutorial.
-
Yeah no.
-
Probably, but why not use a language that's designed to make desktop applications not a web scripting one?
-
<?php $conn = mysql_connect("localhost", "root", "pass!"); mysql_select_db("login1", $conn) or die ('Database not found ' . mysql_error() ); $cust = $_GET["username"]; $sql = "select * from weight"; $rs = mysql_query($sql, $conn) or die ('Database not found ' . mysql_error() ); if (mysql_num_rows($rs)>0){ echo '<table width="700" border="1" cellpadding="10"> <tr> <td>Username</td> <td>date</td> <td>weight in lbs</td> <td>weight in kg</td> </tr>'; while ($row = mysql_fetch_array($rs)) { echo "<tr> <td>{$row['username']}</td> <td>{$row['date']}</td> <td>{$row['weight_lb']}</td> <td>{$row['weight_kg']}</td> </tr>"; } echo '</table>'; }else{ echo "<p>No weight with username: {$username} in database.</p>"; } See how much easier to read that is? Don't go in and out of PHP all the time.