No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
is there a way that i can check to see if a mysql table exists and if not add the table to the database with a session_id as a table name |
|
Hi, I am making a mailing program and the problem i'm having is that I want to display the message exactly as it is entered for example, when the sender presses enter for a new line the reciever see's it. I have thought of using <pre></pre> tags but if the … |
|
Hi, I need to display 4 items from a MySQL database in a 2x2 table (2 columns, 2 rows) i know how display just rows and columns, but how would I do both? thank you |
|
I know this question has come up before and i've researched headers and i know that you can't output anything to the browser then change the headers, so my question is, is there a way to redirect with PHP inside a HTML document? |
|
Re:
i have done this before but cannot for the life of me remember how it is done. i have my title for my website which is a photoshop image and it is used on all the pages each time i go to a different page in the site it reloads … |
|
Re:
I suppose that this is the wrong place to voice critique of php but does the lack of good php books not make php a bit of a nightmare. i have been on amazon and all the books have a review or two which says something about typos or misleading … |
|
I need to get information from 2 tables in the same mysql database [code=php]$sql = mysql_query("SELECT * FROM notes, customers WHERE `to`='next' LIMIT 5"); while($a = mysql_fetch_array($sql)){ $row_color = ($row_count % 2) ? "#EFEFEF" : "#FFFFFF"; echo("<tr bgcolor=\"$row_color\"> <td height=\"25\">" . $a['custid'] . "</td> <td height=\"25\">" . $a['name'] . "</td> … |
|
I'm having trouble with a switch statement [code=java]Scanner scan = new Scanner (System.in); char chars = scan.nextLine(); System.out.println("A Andorra\n" + "B Belgium\n" + "F Finland\n" + "M Malta\n" + "S Slovenia\n\n" + "Choose a country from menu above:\n" + chars); switch (chars) { case 'A': System.out.println("You chose \"Andorra\""); break; case … |
|
Re:
i am new to php.... please send me a code tat will help me create a form n direct it to my home page and send the information of the form to my email |
|
I have a 2D array like this: [code]$cart = array(array("Item", 6.99), (array("Item 2", 13.99)); [/code] i am using this for a shopping cart i am making. I can add to it fine. What i need to be able to do is remove items from the array. I have been racking … |