Jessica
Staff Alumni-
Posts
8,968 -
Joined
-
Last visited
-
Days Won
41
Everything posted by Jessica
-
A. this has nothing to do with regex. B. You didn't ask a question. C. Your explanations of the code are incorrect. Are you asking what the code does? The manual explains it, as well as how they've changed from version to version.
-
Use the id for each row.
-
Give them different names and/or values. Once you click do a print_r($_POST) to see what happens.
-
Passing data to externam PHP file from JavaScript File
Jessica replied to iammat's topic in PHP Coding Help
Good for you... -
Your script depends on register_globals, which is a security risk. You need to use the $_POST superglobal.
-
Passing data to externam PHP file from JavaScript File
Jessica replied to iammat's topic in PHP Coding Help
There is no if statement in the code you posted. That also indicates you need to enable error reporting, set to E_ALL so you can get useful errors and notices. -
Passing data to externam PHP file from JavaScript File
Jessica replied to iammat's topic in PHP Coding Help
What happens when you navigate directly to the php file? -
You probably want to save the data you get from the other site into a database. There are lots of basic mysql tutorials you can use. Look into using mysqli or PDO in PHP.
-
I wonder if it's a pubic--I mean public-- function.
-
How do YOU the person using this system, know what image goes with what recipe?
-
Whatever you do with it. $a = 'Bob'; What happens to $a? Nothing if you don't store it somewhere.
-
The parser just helps you *parse* the HTML. What you do with it after that is up to you.
-
I have recently used the Simple HTML DOM Parser and found it to be VERY useful.
-
Because in SQL column names should not be strings. I doubt you have been doing that and had it work.
-
You shouldn't put quotes around your column names.
-
How do you know what recipe the image goes with? UPDATE that recipe's row.
-
application design when programming a website from scratch
Jessica replied to Afelk's topic in Application Design
It should be fairly obvious what comes first and what comes last. You cannot write a user interface to interact with a database that hasn't been designed yet. You could do research on methods of development such as Agile, Scrum and Waterfall, and pick one.- 9 replies
-
- application design
- programming theory
-
(and 1 more)
Tagged with:
-
Since you can't answer basic questions about what you're trying to do, it's no wonder you can't find out how to do it. Mobile websites can request the user's location.
-
At least it's there now I just asked them to add it last week, it was missing for a while!
-
You can't just echo an array, as you have seen. You could try using implode, and/or foreach.
-
sum of two row from 2 different table(is this correct)
Jessica replied to Taku's topic in PHP Coding Help
The same way as with 2. -
That is what I said.
-
For android or iPhone? Either way, they both have development kits you download to get started. Android is java, not sure about iPhone.
-
You cannot put a span inside a script tag. You only put scripts inside script tags. You put the span in the right spot in your HTML.
- 3 replies
-
- javascript
- html
-
(and 3 more)
Tagged with:
-
Basic logic - which is greater, height or width? Instead of using the original height and width in your resampled call, use the original of whichever is smaller, then that same measurement for the other. Ie, if an image is 150x200 you want to only sample 150x150, right?